﻿using UnityEngine;
using UnityEngine.UI;

namespace Example_0003_screenpoint
{
	public class UIMain : MonoBehaviour {

		public Canvas canvas;
 
		void Start(){
			Vector2 pos;
			// if(RectTransformUtility.ScreenPointToLocalPointInRectangle(canvas.transform as RectTransform, transform.position, canvas.camera, out pos)){
			// 	Debug.Log(pos);
			// }
	
		}


	}
}

